package ooday01;

public class Doctor extends Person {
    String title;
    Doctor(){}
    Doctor(String title, String name, int age, String address){
        super(name, age, address);
        this.title = title;
    }
    void cut()
    {
        System.out.println(name+"is cutting");
    }
}
